package com.cloudkinto.enumType.stock;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author long
 */

public enum StockTypeEnum implements IEnum<Integer> {

    /**
     * 0退货库存 1产品库存 2箱库存(按箱类号)  3箱库存(按箱唛号)
     */
    zero(0, "退货库存"),
    one(1, "产品库存"),
    two(2, "箱库存(按箱类号)"),
    three(3, "箱库存(按箱唛号)");

    private final Integer type;
    private final String desc;

    StockTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return type;
    }
}
